import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import 'antd-mobile/dist/antd-mobile.css'
import 'lib-flexible/flexible.js'

import App from './App';
import Store from './store'
import { Provider } from 'react-redux'
import * as serviceWorker from './serviceWorker';
import { HashRouter as Router} from 'react-router-dom';
const store = Store();

ReactDOM.render(
  <Provider store={store}>
    <Router>
      <App />
    </Router>
  </Provider>,
  document.getElementById('root')
);

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
serviceWorker.unregister();
